package com.niit.project.dao;

import com.niit.project.entity.Goods;
import com.niit.project.entity.Page;
import com.niit.project.entity.User;

import java.util.List;

public interface UserDao {
    public List<Goods> selectAll(Page page);
    public long selectCount();
    public int delete(int id);
    public int insert(Goods goods);
    public User select(String username);
    public int update(Goods goods);

    public int insert(User user);
}
